package cn.imu.appdevexperiment2020._2activity;

import android.os.Bundle;
import android.widget.ImageView;

import androidx.annotation.Nullable;

import butterknife.BindView;
import butterknife.OnClick;
import cn.imu.appdevexperiment2020.R;
import cn.imu.appdevexperiment2020.common.BaseActivity;

/**
 * 描述:
 *
 * @author chenconghua
 * @version 1.0
 * @create 2022-11-05 17:27
 */
public class ViewActivity  extends BaseActivity {
   @BindView(R.id.img_view)
   ImageView imageView;
   @Override
   protected void onCreate(@Nullable Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_view);
   }

   @OnClick(R.id.btn_view)
   public void btnView(){
      imageView.setImageResource(R.drawable.home_gd_c);
   }

}
